package com.ubb.dbms.domain.xml;

import java.util.List;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root (name = "references")
public class References {

	@Element (name= "refTable", required= true)
	private RefTable refTable;
	
	@ElementList (name= "refAttribute", required= true, inline = true)
	private List<RefAttribute> refAttributelList;

	public RefTable getRefTable() {
		return refTable;
	}

	public void setRefTable(RefTable refTable) {
		this.refTable = refTable;
	}

	public List<RefAttribute> getRefAttributelList() {
		return refAttributelList;
	}

	public void setRefAttributelList(List<RefAttribute> refAttributelList) {
		this.refAttributelList = refAttributelList;
	}
	
	
}
